package com.iran.order;

/**
 * 要求该命令执行地请求
 */
public class Invoke {
    protected AbstractCommand abstractCommand;

    public void setAbstractCommand(AbstractCommand abstractCommand) {
        this.abstractCommand = abstractCommand;
    }
    public void executeCommand(){
        abstractCommand.execute();
    }
}
